package com.YxyBackMange.Entity.App;

import com.YxyBackMange.Entity.Sys.SysUser;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.hibernate.validator.constraints.Length;

import java.io.Serializable;
import java.sql.Timestamp;
import java.util.Date;
import java.util.Set;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * 实体类AppFeedback
 * 数据表app_tb_feedback
 * 用户反馈表
 * 2017-12-3 3:47:31
 *
 * @author Administrator
 */
@Table(name = "app_tb_feedback")
public class AppFeedback implements Serializable {

    //编号
    @Id
    @GeneratedValue(generator = "JDBC")


    private Integer id;
    //反馈内容


    private String backContent;
    //用户编号


    private Integer userId;
    @Transient
    private SysUser sysUser;
    //创建时间


    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    //处理状态


    private Integer stateId;
    @Transient
    private AppDictCode appDictCode;
    //操作时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date opateTime;
    //操作人


    private Integer opateId;
    @Transient
    private SysUser opateUser;

    public AppFeedback() {

    }

    public AppFeedback(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return this.id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBackContent() {
        return this.backContent;
    }

    public void setBackContent(String backContent) {
        this.backContent = backContent;
    }

    public Integer getUserId() {
        return this.userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCreateTime() {
        return this.createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getStateId() {
        return this.stateId;
    }

    public void setStateId(Integer stateId) {
        this.stateId = stateId;
    }

    public Date getOpateTime() {
        return this.opateTime;
    }

    public void setOpateTime(Date opateTime) {
        this.opateTime = opateTime;
    }

    public Integer getOpateId() {
        return this.opateId;
    }

    public void setOpateId(Integer opateId) {
        this.opateId = opateId;
    }

    public SysUser getSysUser() {
        return sysUser;
    }

    public void setSysUser(SysUser sysUser) {
        this.sysUser = sysUser;
    }

    public AppDictCode getAppDictCode() {
        return appDictCode;
    }

    public void setAppDictCode(AppDictCode appDictCode) {
        this.appDictCode = appDictCode;
    }

    public SysUser getOpateUser() {
        return opateUser;
    }

    public void setOpateUser(SysUser opateUser) {
        this.opateUser = opateUser;
    }
}
